package com.kingschan.util.lang;

import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeStampUtil {
	/**
	 * getCurrentDate
	 * @return
	 */
	public static Timestamp getCurrentDate(){
		Timestamp time = null;
		Date d = new Date(System.currentTimeMillis());
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
		time=Timestamp.valueOf(sdf.format(d));
		return time;
	}
	

}
